home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '87 / Source ƒ / Pascal ƒ / TML Fkey.Pas ƒ / PAS$FKEYHeader.asm < prev    next >
Encoding:
Assembly Source File  |  1986-10-18  |  580 b   |  28 lines  |  [TEXT/EDIT]

  1. ;
  2. ; TML MacLanguage series Pascal FKEY header code.
  3. ;
  4. ; File:  PAS$FKEYHeader.asm
  5. ;
  6. ; Written by Greg King, University of Alberta.
  7. ;
  8. ; Oct. 18, 1986
  9. ;
  10. ; Assembled using Consulair assembler.
  11. ;
  12. ; Use "{$H 'PAS$FKEYHeader'}" in the head of your Pascal source and
  13. ; compile as a desk accessory into a code resource.
  14. ;
  15. ; Your FKEY procedure must be named FKEY and there must not be any
  16. ; main program.
  17. ;
  18.  
  19.     xref    FKEY    ;name of Pascal subroutine
  20.  
  21.     bra.s    start
  22.     dc.w    0       ;flags word
  23.     dc.b    'FKEY'  ;resource type
  24.     dc.w    5       ;resource id
  25.     dc.w    0       ;version
  26.  
  27. start    jsr    FKEY
  28.     rts